RGBA: Fix example to_string output for reality/CSS
authorDaniel Boles <dboles.src@gmail.com>
Mon, 17 Dec 2018 19:57:09 +0000 (19:57 +0000)
committerDaniel Boles <dboles.src@gmail.com>
Mon, 17 Dec 2018 20:49:34 +0000 (20:49 +0000)
* We don't output spaces anywhere in the code, unlike the doc suggested.
* CSS explicitly forbids whitespace between function names and lparens:
  https://stackoverflow.com/questions/13877198

gdk/gdkrgba.c

index de1c59433783cd7f0bb495c5b751d80853ffc6c3..fe82773f14adb0ddd886aa9adaa0e2309514f831 100644 (file)
@@ -353,8 +353,8 @@ gdk_rgba_equal (gconstpointer p1,
  * @rgba: a #GdkRGBA
  *
  * Returns a textual specification of @rgba in the form
- * `rgb (r, g, b)` or
- * `rgba (r, g, b, a)`,
+ * `rgb(r,g,b)` or
+ * `rgba(r g,b,a)`,
  * where “r”, “g”, “b” and “a” represent the red, green,
  * blue and alpha values respectively. r, g, and b are
  * represented as integers in the range 0 to 255, and a